const router = require('koa-router')();
const rankingPartitions = require('../data/tabIcons');
// 向api服务添加排行榜路由模块
// 排行榜菜单
const RankLikeData = require('../data/RankLike')

router.get("/rankLike", async (ctx) => {
    const resData = {
        data: RankLikeData,
        code: 0,
        message: "0"
    }
    ctx.body = resData
})
router.get('/icon', (ctx, next) => {
    const resData = {
        data: rankingPartitions,
        code: 0,
        message: "0"
    }
    ctx.body = resData
})

// /ranking/1  params   query ?

module.exports = router.routes()